package com.xinyu.vo;

import lombok.Data;

import java.util.List;

@Data
public class DailyRequest {
    private String keyword;
    private Integer siteId;
    private Integer state;//状态 1 未解决 2 进行中 3 已解决 4 已关闭
    private Integer equipmentId;//设备信息
    private List<Integer> equipmentIds;
    private Integer categoryId;//分类
    private Integer moduleId;//模块
    private Integer componentId;//部件
    private String userName;//发布人
    private Integer page = 1;//页码
    private Integer rows = 10;//每页条数
    private String sortWay = "DESC";//排序方式
    private String sortColumn;//排序字段
    private String startTime;
    private String endTime;
    private Integer offset;
    private Integer isDelete = 0;
    private Integer responsibilityUserId;//责任所属
    public Integer getOffset() {
        return (page - 1) * rows;
    }
}
